package com.crm.service;

import java.util.List;

import com.crm.model.Equipment;
import com.crm.model.PageBean;

public interface EquipmentService {

    List<Equipment> list(PageBean pageBean, Equipment s_equipment);

    int count(Equipment s_equipment);

    void delete(int id);

    void add(Equipment equipment);

    void update(Equipment equipment);

    Equipment loadById(int id);

    boolean existEquipmentByTypeId(int typeId);

    void addRepair(int id, String userMan);

    void updateRepair(int id, int repairId, String repairMan, boolean success);
}
